package com.learn.jvm.threadLocalTest;

public class ThreadLocalTest {
    private ThreadLocal<Integer> a = new ThreadLocal<>();

    public static void main(String[] args) {
        ThreadLocalTest tt = new ThreadLocalTest();
        tt.a.set(1);
        System.gc();
        System.out.println(tt.a.get());
    }

}
